package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者对象 gx_patient
 * 
 * @author gx
 * @date 2022-05-07
 */
public class GxPatient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者主索引 */
    private Long patientId;

    /** 患者编号 */
    @Excel(name = "患者编号")
    private String patientNo;

    /** 患者名称 */
    @Excel(name = "患者名称")
    private String patientName;

    /** 患者生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "患者生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patientBirthday;

    /** 患者生日 */
    @Excel(name = "患者生日")
    private Long patientAge;

    /** 患者性别 */
    @Excel(name = "患者性别")
    private String patientGender;

    /** 患者身份证号 */
    @Excel(name = "患者身份证号")
    private String patientIdentityNo;

    /** 患者职业 */
    @Excel(name = "患者职业")
    private String patientJob;

    /** 患者体重 */
    @Excel(name = "患者体重")
    private Long patientWeight;

    /** 患者身高 */
    @Excel(name = "患者身高")
    private Long patientHeight;

    /** 患者民族 */
    @Excel(name = "患者民族")
    private String patientFolk;

    /** 患者地址 */
    @Excel(name = "患者地址")
    private String patientAddress;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String patientPhone;

    /** 婚姻状态（字典） */
    @Excel(name = "婚姻状态", readConverterExp = "字=典")
    private String patientMarriage;

    /** 患者状态（字典） */
    @Excel(name = "患者状态", readConverterExp = "字=典")
    private String patientStatus;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setPatientNo(String patientNo) 
    {
        this.patientNo = patientNo;
    }

    public String getPatientNo() 
    {
        return patientNo;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientBirthday(Date patientBirthday) 
    {
        this.patientBirthday = patientBirthday;
    }

    public Date getPatientBirthday() 
    {
        return patientBirthday;
    }
    public void setPatientAge(Long patientAge)
    {
        this.patientAge = patientAge;
    }

    public Long getPatientAge()
    {
        return patientAge;
    }
    public void setPatientGender(String patientGender) 
    {
        this.patientGender = patientGender;
    }

    public String getPatientGender() 
    {
        return patientGender;
    }
    public void setPatientIdentityNo(String patientIdentityNo) 
    {
        this.patientIdentityNo = patientIdentityNo;
    }

    public String getPatientIdentityNo() 
    {
        return patientIdentityNo;
    }
    public void setPatientJob(String patientJob) 
    {
        this.patientJob = patientJob;
    }

    public String getPatientJob() 
    {
        return patientJob;
    }
    public void setPatientWeight(Long patientWeight) 
    {
        this.patientWeight = patientWeight;
    }

    public Long getPatientWeight() 
    {
        return patientWeight;
    }
    public void setPatientHeight(Long patientHeight) 
    {
        this.patientHeight = patientHeight;
    }

    public Long getPatientHeight() 
    {
        return patientHeight;
    }
    public void setPatientFolk(String patientFolk) 
    {
        this.patientFolk = patientFolk;
    }

    public String getPatientFolk() 
    {
        return patientFolk;
    }
    public void setPatientAddress(String patientAddress) 
    {
        this.patientAddress = patientAddress;
    }

    public String getPatientAddress() 
    {
        return patientAddress;
    }
    public void setPatientPhone(String patientPhone) 
    {
        this.patientPhone = patientPhone;
    }

    public String getPatientPhone() 
    {
        return patientPhone;
    }
    public void setPatientMarriage(String patientMarriage) 
    {
        this.patientMarriage = patientMarriage;
    }

    public String getPatientMarriage() 
    {
        return patientMarriage;
    }
    public void setPatientStatus(String patientStatus) 
    {
        this.patientStatus = patientStatus;
    }

    public String getPatientStatus() 
    {
        return patientStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientNo", getPatientNo())
            .append("patientName", getPatientName())
            .append("patientBirthday", getPatientBirthday())
            .append("patientAge", getPatientAge())
            .append("patientGender", getPatientGender())
            .append("patientIdentityNo", getPatientIdentityNo())
            .append("patientJob", getPatientJob())
            .append("patientWeight", getPatientWeight())
            .append("patientHeight", getPatientHeight())
            .append("patientFolk", getPatientFolk())
            .append("patientAddress", getPatientAddress())
            .append("patientPhone", getPatientPhone())
            .append("patientMarriage", getPatientMarriage())
            .append("patientStatus", getPatientStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
